package com.kaishengit.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.kaishengit.dao.TelDao;
import com.kaishengit.pojo.Tel;

public class TelService {
	
	private List<Tel> tellist;
	private TelDao telDao;
	
	
	public List<Tel> find(String id) {
		tellist = telDao.findBy("contactid", id);
		return tellist;
	}
	
	
	
	
	
	
	//get  set 
	public List<Tel> getTellist() {
		return tellist;
	}
	public void setTellist(List<Tel> tellist) {
		this.tellist = tellist;
	}
	public TelDao getTelDao() {
		return telDao;
	}
	@Autowired
	public void setTelDao(TelDao telDao) {
		this.telDao = telDao;
	}
	

	
	
}
